package com.zygvip.demand.entity;

import com.zygvip.demand.core.BaseEntity;
import org.springframework.data.annotation.CreatedDate;

import javax.persistence.*;
import java.util.Date;

/**
 * 目标用户
 *
 * @author dup
 * @Description: dup
 * @date 18:34 2018/4/17
 */
@Entity
@Table(name = "target_user", schema = "demand", catalog = "")
public class TargetUser extends BaseEntity {

    private Integer id;
    private String name;
    private String mail;
    private String tel;
    private String target;
    @CreatedDate
    private Date createTime;

    @Id
    @Column(name = "id")
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
